<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/10/17
 * Time: 14:16
 */
namespace app\api\model;
use think\Model;

class User extends Model
{
    public function profile(){
        return $this->hasOne('Profile');
    }
}